home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / PathName < prev    next >
Text File  |  1990-06-22  |  1KB  |  66 lines

  1.  
  2.  
  3.  
  4.      PathName(31.0)      ARP Programmers Manual    PathName(31.0)
  5.  
  6.  
  7.  
  8.      NAME
  9.       PathName - Find complete pathname of file/directory.
  10.  
  11.      SYNOPSIS
  12.       Length = PathName(Lock, Destination, NumberNames)
  13.         D0             D0          A0      D1
  14.  
  15.      FUNCTION
  16.       This function    builds a path name which completely describes
  17.       the path from    the root of the    filing system to the file on
  18.       which    the Lock has been obtained.  The name returned is of
  19.       the form:
  20.           Volume:Dir1/Dir2/Dir3/.../Name .RE 0
  21.  
  22.      INPUTS
  23.       Lock - This is a lock    on the file or directory obtained from
  24.           Lock() or DupLock(), or some such function.
  25.  
  26.       Destination -    This is    the area of memory to place the
  27.           filename in.
  28.  
  29.       NumberNames -    This is    the number of names that can be    placed
  30.           in the destination area.  This should    be some
  31.           multiple of FSIZE.
  32.  
  33.      RESULT
  34.       Length - If the return is non-zero, then the pathname    has
  35.           been placed in Destination, and the return value is
  36.           the total length of the pathname in characters.  A
  37.           zero return indicates    a problem, either a buffer
  38.           overflow, or disk error.  IoErr() can    be of help in
  39.           this case.
  40.  
  41.      BUGS
  42.       None known.
  43.  
  44.      AUTHOR
  45.       SDB
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.      Page 1                         (printed 2/22/88)
  63.  
  64.  
  65.  
  66.